<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网络安全摘要信息</title>

    <!-- Tailwind CSS CDN -->
    <script src="https://cdn.tailwindcss.com"></script>

    <!-- Font Awesome CDN -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

    <!-- Framer Motion CDN -->
    <script src="https://unpkg.com/framer-motion@10.16.4/dist/framer-motion.js"></script>

    <!-- Chart.js for data visualization -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            overflow-x: hidden;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 1.5rem;
            padding: 2rem;
        }

        .bento-cell {
            border-radius: 1rem;
            background: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .bento-cell:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .highlight-blue {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 100%);
        }

        .highlight-red {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0) 100%);
        }

        .highlight-yellow {
            background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0) 100%);
        }

        .highlight-green {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0) 100%);
        }

        .highlight-purple {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0) 100%);
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
</head>

<body>
    <div class="min-h-screen">
        <!-- Hero Section -->
        <section class="bento-grid pt-20 pb-32">
            <div
                class="bento-cell highlight-blue col-span-12 p-8 flex flex-col justify-center items-center text-center">
                <h1 class="text-6xl md:text-8xl font-bold mb-4 text-slate-800">网络安全摘要信息</h1>
                <p class="text-xl text-slate-500">Asset Network Attack Related Data</p>
            </div>
        </section>

        <!-- Main Content -->
        <div class="bento-grid pb-20">
            <!-- Asset Distribution -->
            <div class="bento-cell highlight-purple col-span-12 md:col-span-6 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
                        <i class="fas fa-server text-purple-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">资产分布情况</h2>
                </div>
                <p class="text-slate-600 mb-4">本报告分析对象为5个Linux服务器资产，具体分布如下：</p>

                <div class="flex flex-col md:flex-row gap-6">
                    <div class="flex-1">
                        <ul class="space-y-3">
                            <li class="flex items-start">
                                <span
                                    class="inline-block w-6 h-6 rounded-full bg-purple-500 text-white flex items-center justify-center mr-2 mt-1 flex-shrink-0">1</span>
                                <span>CentOS 7.9系统<br><span class="text-sm text-slate-500">ID:
                                        lin:92c852c370f2e41cc33c72ebdff259ed0133013242aa5eeccfe9f6256efca00a</span></span>
                            </li>
                            <li class="flex items-start">
                                <span
                                    class="inline-block w-6 h-6 rounded-full bg-purple-500 text-white flex items-center justify-center mr-2 mt-1 flex-shrink-0">4</span>
                                <span>Kylin Linux Advanced Server V10系统<br>
                                    <span class="text-sm text-slate-500">
                                        ID: lin:aeb3051911e2e2206662f74bd9b5d48240bec26ca664a7d0b0533f62ffb919a0<br>
                                        lin:5f8414c73599b10b7b96f4ed16f8a62d7e634299b47634b37a8c70c4cc69b916<br>
                                        lin:227b21013eb47be4583a404b26030ace70ea4aa1f6c81cd8919d454448f00362<br>
                                        lin:fa9f460b9cc7fafe39dc8940bb78cac65056f006365158f1a6fdc6e74bc91679
                                    </span>
                                </span>
                            </li>
                        </ul>
                    </div>
                    <div class="flex-1">
                        <canvas id="assetDistributionChart" height="200"></canvas>
                    </div>
                </div>
            </div>

            <!-- Intrusion Attack Types -->
            <div class="bento-cell highlight-red col-span-12 md:col-span-6 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-red-100 flex items-center justify-center mr-4">
                        <i class="fas fa-shield-alt text-red-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">入侵攻击类型列表</h2>
                </div>

                <div class="grid grid-cols-2 gap-4">
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-folder-minus text-red-500 mr-3"></i>
                        <span>隐藏文件目录检测</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-terminal text-red-500 mr-3"></i>
                        <span>敏感命令执行检测</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-info-circle text-red-500 mr-3"></i>
                        <span>发现系统信息检测</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-folder-open text-red-500 mr-3"></i>
                        <span>Linux tmp 目录监控</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-lock-open text-red-500 mr-3"></i>
                        <span>受限 Shell 突破</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-code text-red-500 mr-3"></i>
                        <span>可疑 shell 命令</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-file-binary text-red-500 mr-3"></i>
                        <span>二进制文件填充</span>
                    </div>
                    <div class="p-3 bg-red-50 rounded-lg flex items-center">
                        <i class="fas fa-trash-alt text-red-500 mr-3"></i>
                        <span>系统日志清理检测</span>
                    </div>
                </div>
            </div>

            <!-- Intrusion Attack Phases -->
            <div class="bento-cell highlight-yellow col-span-12 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center mr-4">
                        <i class="fas fa-exclamation-triangle text-yellow-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">入侵攻击阶段</h2>
                </div>

                <div class="flex flex-col md:flex-row gap-8">
                    <div class="flex-1">
                        <div class="text-5xl font-bold mb-4 text-yellow-600">3<span
                                class="text-2xl text-slate-600">/5</span></div>
                        <p class="text-slate-600 mb-2">Kylin系统确认遭受入侵</p>
                        <ul class="text-sm text-slate-500 space-y-1">
                            <li>aeb3051911e2e2206662f74bd9b5d48240bec26ca664a7d0b0533f62ffb919a0</li>
                            <li>5f8414c73599b10b7b96f4ed16f8a62d7e634299b47634b37a8c70c4cc69b916</li>
                            <li>fa9f460b9cc7fafe39dc8940bb78cac65056f006365158f1a6fdc6e74bc91679</li>
                        </ul>
                    </div>

                    <div class="flex-1">
                        <div class="text-5xl font-bold mb-4 text-green-600">2<span
                                class="text-2xl text-slate-600">/5</span></div>
                        <p class="text-slate-600 mb-2">系统未检测到入侵活动</p>
                        <ul class="text-sm text-slate-500 space-y-1">
                            <li>Kylin: 227b21013eb47be4583a404b26030ace70ea4aa1f6c81cd8919d454448f00362</li>
                            <li>CentOS: 92c852c370f2e41cc33c72ebdff259ed0133013242aa5eeccfe9f6256efca00a</li>
                        </ul>
                    </div>

                    <div class="flex-1">
                        <div class="h-full flex items-center">
                            <div class="bg-yellow-100 p-4 rounded-lg">
                                <p class="text-slate-700"><span class="font-bold">安全风险:</span>
                                    入侵活动主要集中在Kylin系统，表明该操作系统存在特定安全风险</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Asset Risk -->
            <div class="bento-cell highlight-green col-span-12 md:col-span-8 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
                        <i class="fas fa-bug text-green-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">资产风险相关情况</h2>
                </div>

                <div class="flex flex-col md:flex-row gap-8">
                    <div class="flex-1">
                        <table class="w-full">
                            <thead>
                                <tr class="border-b border-slate-200">
                                    <th class="text-left py-3 text-slate-600">风险等级</th>
                                    <th class="text-right py-3 text-slate-600">数量</th>
                                    <th class="text-right py-3 text-slate-600">占比</th>
                                    <th class="text-left py-3 text-slate-600">主要漏洞</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="border-b border-slate-100">
                                    <td class="py-3 text-red-600 font-bold">高危</td>
                                    <td class="py-3 text-right">5</td>
                                    <td class="py-3 text-right">23.8%</td>
                                    <td class="py-3">CVE-2020-26968, CVE-2023-31486</td>
                                </tr>
                                <tr class="border-b border-slate-100">
                                    <td class="py-3 text-yellow-600 font-bold">中危</td>
                                    <td class="py-3 text-right">15</td>
                                    <td class="py-3 text-right">71.4%</td>
                                    <td class="py-3">CVE-2022-34903等</td>
                                </tr>
                                <tr>
                                    <td class="py-3 text-green-600 font-bold">低危</td>
                                    <td class="py-3 text-right">1</td>
                                    <td class="py-3 text-right">4.8%</td>
                                    <td class="py-3">系统配置类漏洞</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="flex-1">
                        <canvas id="riskDistributionChart" height="200"></canvas>
                    </div>
                </div>
            </div>

            <!-- Key Vulnerabilities -->
            <div class="bento-cell highlight-blue col-span-12 md:col-span-4 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
                        <i class="fas fa-shield-virus text-blue-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">关键漏洞分析</h2>
                </div>

                <div class="space-y-4">
                    <div class="bg-blue-50 p-4 rounded-lg">
                        <h3 class="font-bold text-red-600 mb-2">CVE-2020-26968（高危）</h3>
                        <ul class="text-sm text-slate-600 space-y-1">
                            <li><span class="font-medium">影响:</span> 远程代码执行</li>
                            <li><span class="font-medium">影响资产:</span> CentOS系统（92c852）</li>
                            <li><span class="font-medium">潜在危害:</span> 攻击者可完全控制系统</li>
                            <li><span class="font-medium">修复建议:</span> 立即升级相关组件</li>
                        </ul>
                    </div>

                    <div class="bg-blue-50 p-4 rounded-lg">
                        <h3 class="font-bold text-red-600 mb-2">CVE-2023-31486（高危）</h3>
                        <ul class="text-sm text-slate-600 space-y-1">
                            <li><span class="font-medium">影响:</span> 权限提升</li>
                            <li><span class="font-medium">影响资产:</span> 4台Kylin系统</li>
                            <li><span class="font-medium">潜在危害:</span> 攻击者可获取root权限</li>
                            <li><span class="font-medium">修复建议:</span> 应用官方补丁</li>
                        </ul>
                    </div>

                    <div class="bg-blue-50 p-4 rounded-lg">
                        <h3 class="font-bold text-yellow-600 mb-2">CVE-2022-34903（中危）</h3>
                        <ul class="text-sm text-slate-600 space-y-1">
                            <li><span class="font-medium">影响:</span> 信息泄露</li>
                            <li><span class="font-medium">影响资产:</span> 全部5台服务器</li>
                            <li><span class="font-medium">潜在危害:</span> 敏感信息暴露</li>
                            <li><span class="font-medium">修复建议:</span> 配置访问控制</li>
                        </ul>
                    </div>
                </div>
            </div>

            <!-- Attack Statistics -->
            <div class="bento-cell highlight-purple col-span-12 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
                        <i class="fas fa-chart-bar text-purple-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">入侵事件攻击统计</h2>
                </div>

                <div class="overflow-x-auto">
                    <table class="w-full">
                        <thead>
                            <tr class="border-b border-slate-200">
                                <th class="text-left py-3 text-slate-600">攻击类型</th>
                                <th class="text-right py-3 text-slate-600">次数</th>
                                <th class="text-right py-3 text-slate-600">影响资产</th>
                                <th class="text-left py-3 text-slate-600">威胁等级</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="border-b border-slate-100">
                                <td class="py-3">SSH软链接后门</td>
                                <td class="py-3 text-right font-bold">80</td>
                                <td class="py-3 text-right">3台Kylin</td>
                                <td class="py-3 text-red-600 font-bold">高危</td>
                            </tr>
                            <tr class="border-b border-slate-100">
                                <td class="py-3">历史记录删除</td>
                                <td class="py-3 text-right font-bold">72</td>
                                <td class="py-3 text-right">3台Kylin</td>
                                <td class="py-3 text-red-600 font-bold">高危</td>
                            </tr>
                            <tr class="border-b border-slate-100">
                                <td class="py-3">系统配置修改</td>
                                <td class="py-3 text-right font-bold">3,928</td>
                                <td class="py-3 text-right">3台Kylin</td>
                                <td class="py-3 text-yellow-600 font-bold">中危</td>
                            </tr>
                            <tr class="border-b border-slate-100">
                                <td class="py-3">持久化攻击</td>
                                <td class="py-3 text-right font-bold">102</td>
                                <td class="py-3 text-right">3台Kylin</td>
                                <td class="py-3 text-yellow-600 font-bold">中危</td>
                            </tr>
                            <tr>
                                <td class="py-3">可疑命令执行</td>
                                <td class="py-3 text-right font-bold">27</td>
                                <td class="py-3 text-right">2台Kylin</td>
                                <td class="py-3 text-green-600 font-bold">低危</td>
                            </tr>
                        </tbody>
                    </table>
                </div>

                <div class="mt-6">
                    <canvas id="attackStatsChart" height="150"></canvas>
                </div>
            </div>

            <!-- Attack Traceability -->
            <div class="bento-cell highlight-red col-span-12 p-6 animate-on-scroll">
                <div class="flex items-center mb-4">
                    <div class="w-12 h-12 rounded-full bg-red-100 flex items-center justify-center mr-4">
                        <i class="fas fa-search text-red-600 text-xl"></i>
                    </div>
                    <h2 class="text-3xl font-bold text-slate-800">攻击溯源分析</h2>
                </div>

                <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                    <div class="bg-red-50 p-4 rounded-lg text-center">
                        <div class="text-5xl font-bold text-red-600 mb-3"><i class="fas fa-user-ninja"></i></div>
                        <p class="font-medium">攻击者具有Linux系统专业知识</p>
                    </div>
                    <div class="bg-red-50 p-4 rounded-lg text-center">
                        <div class="text-5xl font-bold text-red-600 mb-3"><i class="fas fa-robot"></i></div>
                        <p class="font-medium">攻击手法系统化、自动化</p>
                    </div>
                    <div class="bg-red-50 p-4 rounded-lg text-center">
                        <div class="text-5xl font-bold text-red-600 mb-3"><i class="fas fa-link"></i></div>
                        <p class="font-medium">存在明显的攻击链设计</p>
                    </div>
                    <div class="bg-red-50 p-4 rounded-lg text-center">
                        <div class="text-5xl font-bold text-red-600 mb-3"><i class="fas fa-users"></i></div>
                        <p class="font-medium">可能为APT组织或有组织犯罪</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Initialize charts when DOM is loaded
        document.addEventListener('DOMContentLoaded', function () {
            // Asset Distribution Chart
            const assetCtx = document.getElementById('assetDistributionChart').getContext('2d');
            new Chart(assetCtx, {
                type: 'doughnut',
                data: {
                    labels: ['CentOS 7.9', 'Kylin Linux V10'],
                    datasets: [{
                        data: [1, 4],
                        backgroundColor: ['#8b5cf6', '#a78bfa'],
                        borderWidth: 0
                    }]
                },
                options: {
                    responsive: true,
                    plugins: {
                        legend: {
                            position: 'bottom'
                        }
                    },
                    cutout: '70%'
                }
            });

            // Risk Distribution Chart
            const riskCtx = document.getElementById('riskDistributionChart').getContext('2d');
            new Chart(riskCtx, {
                type: 'pie',
                data: {
                    labels: ['高危', '中危', '低危'],
                    datasets: [{
                        data: [5, 15, 1],
                        backgroundColor: ['#ef4444', '#f59e0b', '#10b981'],
                        borderWidth: 0
                    }]
                },
                options: {
                    responsive: true,
                    plugins: {
                        legend: {
                            position: 'bottom'
                        }
                    }
                }
            });

            // Attack Stats Chart
            const attackCtx = document.getElementById('attackStatsChart').getContext('2d');
            new Chart(attackCtx, {
                type: 'bar',
                data: {
                    labels: ['SSH软链接后门', '历史记录删除', '系统配置修改', '持久化攻击', '可疑命令执行'],
                    datasets: [{
                        label: '攻击次数',
                        data: [80, 72, 3928, 102, 27],
                        backgroundColor: [
                            'rgba(239, 68, 68, 0.7)',
                            'rgba(239, 68, 68, 0.7)',
                            'rgba(234, 179, 8, 0.7)',
                            'rgba(234, 179, 8, 0.7)',
                            'rgba(34, 197, 94, 0.7)'
                        ],
                        borderColor: [
                            'rgba(239, 68, 68, 1)',
                            'rgba(239, 68, 68, 1)',
                            'rgba(234, 179, 8, 1)',
                            'rgba(234, 179, 8, 1)',
                            'rgba(34, 197, 94, 1)'
                        ],
                        borderWidth: 1
                    }]
                },
                options: {
                    responsive: true,
                    scales: {
                        y: {
                            beginAtZero: true
                        }
                    },
                    plugins: {
                        legend: {
                            display: false
                        }
                    }
                }
            });

            // Scroll animation
            const animateElements = document.querySelectorAll('.animate-on-scroll');

            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                    }
                });
            }, {
                threshold: 0.1
            });

            animateElements.forEach(element => {
                observer.observe(element);
            });

            // Apple-like scroll effect
            let lastScrollPosition = 0;
            const bentoCells = document.querySelectorAll('.bento-cell');

            window.addEventListener('scroll', () => {
                const currentScrollPosition = window.pageYOffset;

                bentoCells.forEach((cell, index) => {
                    const cellPosition = cell.getBoundingClientRect().top;
                    const windowHeight = window.innerHeight;

                    if (cellPosition < windowHeight * 0.75) {
                        const delay = index * 0.1;
                        cell.style.transitionDelay = `${delay}s`;

                        if (currentScrollPosition > lastScrollPosition) {
                            // Scrolling down
                            cell.style.transform = 'translateY(0)';
                        } else {
                            // Scrolling up - optional effect
                            cell.style.transform = 'translateY(0)';
                        }
                    }
                });

                lastScrollPosition = currentScrollPosition;
            });
        });
    </script>
</body>

</html>